runtime.hchan.lock (field)
23 uses
runtime (current package)
chan.go#L51: lock mutex
chan.go#L113: lockInit(&c.lock, lockRankHchan)
chan.go#L202: lock(&c.lock)
chan.go#L205: unlock(&c.lock)
chan.go#L212: send(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L228: unlock(&c.lock)
chan.go#L233: unlock(&c.lock)
chan.go#L259: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanSend, traceBlockChanSend, 2)
chan.go#L362: lock(&c.lock)
chan.go#L364: unlock(&c.lock)
chan.go#L418: unlock(&c.lock)
chan.go#L511: lock(&c.lock)
chan.go#L518: unlock(&c.lock)
chan.go#L532: recv(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L552: unlock(&c.lock)
chan.go#L557: unlock(&c.lock)
chan.go#L583: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanReceive, traceBlockChanRecv, 2)
select.go#L39: lock(&c.lock)
select.go#L58: unlock(&c.lock)
select.go#L92: unlock(&lastc.lock)
select.go#L97: unlock(&lastc.lock)
stack.go#L825: lockWithRank(&sg.c.lock, lockRankHchanLeaf)
stack.go#L848: unlock(&sg.c.lock)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |